package lab02.test07;

public class Test {
    public static void main(String[] args) {


        Person chen = new Person();
        chen.name = "chengongsuo";
        chen.age = 20;
        chen.idcard = "51215131212";
        System.out.println(chen.getString());


        Student zhen = new Student();
        zhen.name = "zhen";
        zhen.age = 20;
        zhen.idcard = "51215131212";
        zhen.sno = "102102399";
        zhen.university = "sctu";
        System.out.println(zhen.getString());
    }
}

